﻿using System;
using Autodesk.Revit.DB;

namespace QuickModel.DoorAndWindow
{
	public class DoorAndWindowConfigInfo
	{
		public string No
		{
			get
			{
				return this.m_strNo;
			}
			set
			{
				this.m_strNo = value;
			}
		}

		public string BlockNo
		{
			get
			{
				return this.m_strBlockNo;
			}
			set
			{
				this.m_strBlockNo = value;
			}
		}

		public EDoorAndWindowCategory EnumCategory
		{
			get
			{
				return this.m_category;
			}
			set
			{
				this.m_category = value;
			}
		}

		public double Width
		{
			get
			{
				return this.m_dWidth;
			}
			set
			{
				this.m_dWidth = value;
			}
		}

		public double Height
		{
			get
			{
				return this.m_dHeight;
			}
			set
			{
				this.m_dHeight = value;
			}
		}

		public double BottomHeight
		{
			get
			{
				return this.m_dBottomHeight;
			}
			set
			{
				this.m_dBottomHeight = value;
			}
		}

		public string TypeName { get; set; }

		public FamilySymbol SpecifiedFamilySymbol
		{
			get
			{
				return this.m_familySymbol;
			}
			set
			{
				this.m_familySymbol = value;
			}
		}

		public bool CanAnalyseNo { get; set; }

		public bool Rebuild { get; set; }

		public DoorAndWindowConfigInfo()
		{
		}

		public DoorAndWindowConfigInfo(string strNo, EDoorAndWindowCategory eCategory, double dWidth, double dHeight, double dBottomHeight, FamilySymbol familySymbol)
		{
			this.m_strNo = strNo;
			this.m_category = eCategory;
			this.m_dWidth = dWidth;
			this.m_dHeight = dHeight;
			this.m_dBottomHeight = dBottomHeight;
			this.m_familySymbol = familySymbol;
		}

		private string m_strNo = string.Empty;

		private string m_strBlockNo = string.Empty;

		private EDoorAndWindowCategory m_category = EDoorAndWindowCategory.eNone;

		private double m_dWidth = 1000.0;

		private double m_dHeight = 1000.0;

		private double m_dBottomHeight = 0.0;

		private FamilySymbol m_familySymbol = null;
	}
}
